package org.teremail.mailbox;

import java.util.ArrayList;
import java.util.List;

public class Lists {

    public static <T> List<T> concat(List<? extends T>...lists) {
        List<T> result = new ArrayList<T>();
        for (List<? extends T> l : lists) {
            result.addAll(l);
        }
        return result;
    }

}
